package org.hcyspartnoc.luoxin.service.searchtopic;


import org.hcyspartnoc.luoxin.common.exception.common.CommonUtilsException;
import org.hcyspartnoc.luoxin.common.exception.searchtopic.QuestionBankException;
import org.hcyspartnoc.luoxin.common.exception.searchtopic.TopicException;
import org.hcyspartnoc.luoxin.pojo.dto.searchtopic.QuestionBankDto;
import org.hcyspartnoc.luoxin.pojo.dto.searchtopic.TopicRagDto;
import org.hcyspartnoc.luoxin.pojo.dto.searchtopic.TopicTextDto;
import org.hcyspartnoc.luoxin.pojo.vo.searchtopic.QuestionBankVO;
import org.hcyspartnoc.luoxin.pojo.vo.searchtopic.QuestionVo;
import org.hcyspartnoc.luoxin.pojo.vo.searchtopic.TopicVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface TopicService {

    TopicVO createTopic(MultipartFile image) throws TopicException , CommonUtilsException;

    void deleteTopicByid(Integer pictureTopicId) throws TopicException;

    List<TopicVO> getPictureTopic() throws TopicException;

    TopicVO createTextTopic(TopicTextDto topicTextDto) throws TopicException;

    QuestionVo searchTopicByRag(TopicRagDto topicRagDto) throws TopicException;
}
